package com.sharainy.pojo;

public class Settlement {
    private int id;
    private int merchantid;
    private long nowtime;
    private float cost;
    private float beforesettle;
    private float aftersettle;
    private String merchantname;
    private float elecusage;
    private float eleccost;
    private float waterusage;
    private float watercost;
    private float gasusage;
    private float gascost;
    private int beforetime;
    private int month;
    private String dateStr;
    private String phone;
    private String companyName;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getNowtime() {
        return nowtime;
    }

    public void setNowtime(long nowtime) {
        this.nowtime = nowtime;
    }

    public float getCost() {
        return cost;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    public float getBeforesettle() {
        return beforesettle;
    }

    public void setBeforesettle(float beforesettle) {
        this.beforesettle = beforesettle;
    }

    public float getAftersettle() {
        return aftersettle;
    }

    public void setAftersettle(float aftersettle) {
        this.aftersettle = aftersettle;
    }

    public int getBeforetime() {
        return beforetime;
    }

    public void setBeforetime(int beforetime) {
        this.beforetime = beforetime;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getMerchantid() {
        return merchantid;
    }

    public void setMerchantid(int merchantid) {
        this.merchantid = merchantid;
    }

    public String getMerchantname() {
        return merchantname;
    }

    public void setMerchantname(String merchantname) {
        this.merchantname = merchantname;
    }

    public float getElecusage() {
        return elecusage;
    }

    public void setElecusage(float elecusage) {
        this.elecusage = elecusage;
    }

    public float getEleccost() {
        return eleccost;
    }

    public void setEleccost(float eleccost) {
        this.eleccost = eleccost;
    }

    public float getWaterusage() {
        return waterusage;
    }

    public void setWaterusage(float waterusage) {
        this.waterusage = waterusage;
    }

    public float getWatercost() {
        return watercost;
    }

    public void setWatercost(float watercost) {
        this.watercost = watercost;
    }

    public float getGasusage() {
        return gasusage;
    }

    public void setGasusage(float gasusage) {
        this.gasusage = gasusage;
    }

    public float getGascost() {
        return gascost;
    }

    public void setGascost(float gascost) {
        this.gascost = gascost;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Settlement{");
        sb.append("id=").append(id);
        sb.append(", merchantid=").append(merchantid);
        sb.append(", nowtime=").append(nowtime);
        sb.append(", cost=").append(cost);
        sb.append(", beforesettle=").append(beforesettle);
        sb.append(", aftersettle=").append(aftersettle);
        sb.append(", merchantname='").append(merchantname).append('\'');
        sb.append(", elecusage=").append(elecusage);
        sb.append(", eleccost=").append(eleccost);
        sb.append(", waterusage=").append(waterusage);
        sb.append(", watercost=").append(watercost);
        sb.append(", gasusage=").append(gasusage);
        sb.append(", gascost=").append(gascost);
        sb.append(", beforetime=").append(beforetime);
        sb.append(", month=").append(month);
        sb.append(", dateStr='").append(dateStr).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", companyName='").append(companyName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
